Skip to content

[flang][cmake] Fix bbc dependencies #152306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 6, 2025

Conversation

Meinersbur
Copy link
Member

@Meinersbur Meinersbur commented Aug 6, 2025

Re-apply "[flang][cmake] Fix bcc dependencies (#125822)"

It was overwritten due to an automatic merge gone wrong for #124416

git cherry-pick f9af5c145f40480d46874b643ca2b1237e9fbb2a applied in 97cf061 ignored the renaming of FortranCommon into FortranSupport after #125822.

Original commit message:

The Fortran libraries are not part of MLIR, so they should use target_link_libraries() rather than mlir_target_link_libraries().
This fixes an issue introduced in #20966.

@Meinersbur Meinersbur requested review from nikic and tstellar August 6, 2025 13:20
Copy link
Contributor

@nikic nikic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kiranchandramohan
Copy link
Contributor

kiranchandramohan commented Aug 6, 2025

Nit: bcc -> bbc

@Meinersbur Meinersbur changed the title [flang][cmake] Fix bcc dependencies [flang][cmake] Fix bbc dependencies Aug 6, 2025
@Meinersbur Meinersbur marked this pull request as ready for review August 6, 2025 14:32
@llvmbot llvmbot added the flang Flang issues not falling into any other category label Aug 6, 2025
@Meinersbur Meinersbur merged commit 2bb23d4 into llvm:main Aug 6, 2025
13 checks passed
@tstellar tstellar added this to the LLVM 21.x Release milestone Aug 6, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage in LLVM Release Status Aug 6, 2025
@tstellar
Copy link
Collaborator

tstellar commented Aug 6, 2025

/cherry-pick 2bb23d4

@llvmbot
Copy link
Member

llvmbot commented Aug 6, 2025

/pull-request #152364

@llvmbot llvmbot moved this from Needs Triage to Done in LLVM Release Status Aug 6, 2025
tru pushed a commit to llvmbot/llvm-project that referenced this pull request Aug 8, 2025
Re-apply "[flang][cmake] Fix bcc dependencies (llvm#125822)"

It was overwritten due to an automatic merge gone wrong for llvm#124416.

`git cherry-pick f9af5c1` applied in
97cf061 ignored the renaming of
FortranCommon into FortranSupport after llvm#125822.

Original commit message:

The Fortran libraries are not part of MLIR, so they should use
target_link_libraries() rather than mlir_target_link_libraries().
This fixes an issue introduced in llvm#20966.

(cherry picked from commit 2bb23d4)
krishna2803 pushed a commit to krishna2803/llvm-project that referenced this pull request Aug 12, 2025
Re-apply "[flang][cmake] Fix bcc dependencies (llvm#125822)"

It was overwritten due to an automatic merge gone wrong for llvm#124416.

`git cherry-pick f9af5c1` applied in
97cf061 ignored the renaming of
FortranCommon into FortranSupport after llvm#125822.

Original commit message:

The Fortran libraries are not part of MLIR, so they should use
target_link_libraries() rather than mlir_target_link_libraries().
This fixes an issue introduced in llvm#20966.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flang Flang issues not falling into any other category
Projects
Development

Successfully merging this pull request may close these issues.

5 participants